<?php
declare (strict_types = 1);

namespace app\common\enum;

class UserSource extends EnumBasics
{
    // 小程序
    const MP = 10;

    // 后台添加
    const ADMIN = 20;

   
    public static function data()
    {
        return [
            self::MP => [
                'name' => '小程序',
                'value' => self::MP,
            ],
            self::ADMIN => [
                'name' => '后台添加',
                'value' => self::ADMIN,
            ],
        ];
    }

}